package cn.wyj.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PhoneRegisterDto {

    // 手机号
   @NotBlank(message = "手机号不能为空")
   private String phone;

   // 短信验证码
   @NotBlank(message = "短信验证码不能为空")
   private String smsCode;
   // 密码
   @NotBlank(message = "密码不能为空")
   private String password;
   // 确认密码
   @NotBlank(message = "确认密码不能为空")
   private String passwordRepeat;
}
